package com.whq.thrift.api.web.admin.service.admin;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.admin.db.admin.AlertThreshold;

public interface AlertThresholdService {
	public void addRecord(AlertThreshold record);

	public List<AlertThreshold> findRecordsByMap(Map<String, Object> whereParams, int beginIndex, int maxCount);

	public void updateRecord(AlertThreshold record);

	public void deleteRecord(String id);

	public int findRecordCount(Map<String, Object> whereParams);

	public AlertThreshold findRecordById(int id);
	
	public List<AlertThreshold> findAlertThresholdMap(Map<String,Object> whereParams);
}
